<extend name="Public/base"/>
<block name="body">
  <table width="100%" cellspacing="0" class="table table-hover">
    <thead>
      <tr>
        <th width="50">ID</th>
        <th>模型名称</th>
        <th>模型标识</th>
        <th>类型</th>
        <th>状态</th>
        <th width="120">管理操作</th>
      </tr>
    </thead>
    <tbody>
      <foreach name="data" item="vo">
        <tr>
          <td>{$vo.id}</td>
          <td>{$vo.name}</td>
          <td>{$vo.model}</td>
          <td>{$vo.type}</td>
          <td><if condition="$vo[status] eq 1">  <i class="icon-check-circle"></i>
              <else/>
              <i class="icon-times-circle"></i></if></td>
          <td><a href='{:U("edit",array("uid"=>$vo["uid"]))}'>修改</a> | <a class="ajax-del"  href="{:U('delete',array('uid'=>$vo['uid']))}">删除</a></td>
        </tr>
      </foreach>
    </tbody>
  </table>
</block>
